import request from '../index.ts';

// let api_name="/user";
let api_name="/api/user";

export function login(params) {
  return request({
    url: `${api_name}/login`,
    method: 'get',
    params
  })
}